﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using Lilium.Web.Mvc;

namespace Lilium.Web.Mvc.EntityFilters
{
	public interface IEntityFilter : IControllerService
	{
        Type EntityType { get; }
	}

	public interface IEntityFilter<TEntity> : IEntityFilter
	{
		IQueryable<TEntity> Apply(IQueryable<TEntity> entities);
	}
}